home *** CD-ROM | disk | FTP | other *** search
- rem -- This is a sample batch file for use with BOF.
- rem -- If you instruct BOF to run it, it will pass
- rem -- 5 different command line parameters into the
- rem -- batch file, as follows:
- rem --
- rem -- %1 - DATE
- rem -- %2 - TIME
- rem -- %3 - IP ADDRESS
- rem -- %4 - KEY
- rem -- %5 - RANDOM 8 LETTER STRING
- rem --
- rem -- The %5 parameter is just a string of 8 random
- rem -- letters (eg. iowehfjs). This is so you
- rem -- you can create additional log files of any
- rem -- applications that you run in this BAT file.
- rem -- For best results, create a folder called "logs"
- rem -- in the main BOF folder.
- rem --
- rem -- Then you can start adding lines like the following
- rem -- to this BAT file:
- rem --
- rem -- ping %3 > logs\ping_%5.log
- rem -- tracert %3>logs\trace_%5.log
- rem -- nslookup %3>dns_%5.log
- rem --
- rem -- If you unrem the above "ping" line, the program "ping"
- rem -- will be run, using the IP address that BOF gave
- rem -- the BAT file. Also, the output of the "ping"
- rem -- program will be logged to the file logs\ping_<random string>.log
- rem --
- rem -- It should also be noted that the random string that is
- rem -- passed into this BAT file is logged in the MAIN bof.log
- rem -- which means you can easily search though that file first,
- rem -- and then branch off to more detailed logs which were created
- rem -- by this batch file! :)
- rem --
- rem -- If this all seems a bit too complicated for you, unrem the line
- rem -- that follows:
- rem --
- rem -- echo %1 %2 %3 %4 %5>test_%5.log
- rem --
- rem -- and then set BOF to run this BAT file, and send a BO client packet
- rem -- to BOF. A file should be created. Work out the rest from there! :)